#include <iostream>
#include <iomanip>

using namespace std;

int main()
{
	double monthM;
	double sum = 0.0;
	while(cin>>monthM)
	{
		sum += monthM;	
	}
	cout<<"$"<<setprecision(2)<<fixed<<sum / 12<<endl;

	return 0;
}
